import urls from '@/services/urls.ts'
import type { ListResponse, MessageType } from '@/services/types.ts'
import { getRequest } from '@/services/apis.ts'

// 获取会话列表(消息列表)
export const queryPageMessageList = (params?: any) => {
  return getRequest<ListResponse<MessageType>>(urls.getMsgList, params)
}
